package com.hfy.kandian.service;

import com.hfy.kandian.entity.Follow;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hfy.kandian.entity.User;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author HAN XIAOYANG
 * @since 2020-12-30
 */
public interface FollowService extends IService<Follow> {

    int doFollow(int thisId, int targetId);

    int unFollow(int thisId, int targetId);

    List<User> showFollower(int thisId);

    List<User> showTargets(int thisId);
}
